package cn.sherer.beans.douyin.yun;

import java.io.Serializable;

/**
 * 抖音云媒资视频链接信息
 * @author Sherer
 */
public class DyYunOpenVideoUrlInfo implements Serializable {
    private String format;
    private String main_play_url;
    private String back_up_play_url;
    private String main_url_expire;
    private String back_url_expire;
    private String definition;
    private int bitrate;
    private String codec;
    private double size;
    private boolean is_demote;
    private boolean is_original;

    public DyYunOpenVideoUrlInfo() {
    }

    public DyYunOpenVideoUrlInfo(String format, String main_play_url, String back_up_play_url, String main_url_expire, String back_url_expire, String definition, int bitrate, String codec, double size, boolean is_demote, boolean is_original) {
        this.format = format;
        this.main_play_url = main_play_url;
        this.back_up_play_url = back_up_play_url;
        this.main_url_expire = main_url_expire;
        this.back_url_expire = back_url_expire;
        this.definition = definition;
        this.bitrate = bitrate;
        this.codec = codec;
        this.size = size;
        this.is_demote = is_demote;
        this.is_original = is_original;
    }

    public String getFormat() {
        return format;
    }

    public void setFormat(String format) {
        this.format = format;
    }

    public String getMain_play_url() {
        return main_play_url;
    }

    public void setMain_play_url(String main_play_url) {
        this.main_play_url = main_play_url;
    }

    public String getBack_up_play_url() {
        return back_up_play_url;
    }

    public void setBack_up_play_url(String back_up_play_url) {
        this.back_up_play_url = back_up_play_url;
    }

    public String getMain_url_expire() {
        return main_url_expire;
    }

    public void setMain_url_expire(String main_url_expire) {
        this.main_url_expire = main_url_expire;
    }

    public String getBack_url_expire() {
        return back_url_expire;
    }

    public void setBack_url_expire(String back_url_expire) {
        this.back_url_expire = back_url_expire;
    }

    public String getDefinition() {
        return definition;
    }

    public void setDefinition(String definition) {
        this.definition = definition;
    }

    public int getBitrate() {
        return bitrate;
    }

    public void setBitrate(int bitrate) {
        this.bitrate = bitrate;
    }

    public String getCodec() {
        return codec;
    }

    public void setCodec(String codec) {
        this.codec = codec;
    }

    public double getSize() {
        return size;
    }

    public void setSize(double size) {
        this.size = size;
    }

    public boolean isIs_demote() {
        return is_demote;
    }

    public void setIs_demote(boolean is_demote) {
        this.is_demote = is_demote;
    }

    public boolean isIs_original() {
        return is_original;
    }

    public void setIs_original(boolean is_original) {
        this.is_original = is_original;
    }

    @Override
    public String toString() {
        return "DyYunOpenVideoUrlInfo{" + "format=" + format + ", main_play_url=" + main_play_url + ", back_up_play_url=" + back_up_play_url + ", main_url_expire=" + main_url_expire + ", back_url_expire=" + back_url_expire + ", definition=" + definition + ", bitrate=" + bitrate + ", codec=" + codec + ", size=" + size + ", is_demote=" + is_demote + ", is_original=" + is_original + '}';
    }
}
